package com.nerve.cloudoffice.domain;

import java.util.Date;

/**
 * @project: cloudOffice
 * @file: User.java
 * @package: com.nerve.cloudoffice.domain
 * @description:
 *	表示一个用户
 * @author: 集成显卡	1053214511@qq.com
				IBM GDC, zengxm@cn.ibm.com
 * @date&time: 2013-8-2
 * @change log:
 */
@SuppressWarnings("serial")
public class User extends BaseEntity{

	/**普通职员*/
	public static final int EMPLOYEE = 0;
	/**部门主管*/
	public static final int HEAD_OF_DEPARTMENT = 1;
	/**总主管*/
	public static final int MANAGER = 2;
	
	public static final int MALE = 0;
	public static final int FEMALE = 1;
	
	private String name;
	private String password;
	private int position;
	private Department department;
	private String cellPhone;
	private int sex;
	private String address;
	private String header;
	private String birthday;
	private boolean unable;
	private String sign;
	private Date joinDate;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getPosition() {
		return position;
	}
	public void setPosition(int position) {
		this.position = position;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	public String getCellPhone() {
		return cellPhone;
	}
	public void setCellPhone(String cellPhone) {
		this.cellPhone = cellPhone;
	}
	public boolean isUnable() {
		return unable;
	}
	public void setUnable(boolean unable) {
		this.unable = unable;
	}
	public Date getJoinDate() {
		return joinDate;
	}
	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getHeader() {
		return header;
	}
	public void setHeader(String header) {
		this.header = header;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
}